package com.erdos.hyt.mall.controller;

import com.erdos.hyt.base.model.HytResponse;
import com.erdos.hyt.mall.model.MallImgs;
import com.erdos.hyt.mall.service.MallImgsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by Administrator on 2017/4/5.
 */

@Api(value = "MallImgsController API")
@RestController
@RequestMapping(value = "/mall")
public class MallImgsController {

    private static final Logger logger = LoggerFactory.getLogger(MallImgsController.class);

    @Autowired
    MallImgsService imgsService;

    @ApiOperation(value="获取首页轮播图", notes="获取首页轮播图",httpMethod ="GET", response = HytResponse.class)
    @RequestMapping(value = "/mallImgs", method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
    @ResponseBody
    public HytResponse<List<MallImgs>> getImgsList(

    ){
        HytResponse<List<MallImgs>> hytResponse = null;


        return null;
    }
}
